package com.lagou.model;

/**
 * Created by IntelliJ IDEA.
 * User: Yangdx.
 * Date: 2020/7/26.
 * Time: 1:18.
 * Tags: Code, we are serious.
 */
public interface UserService {
    public Token register(String email, String password, String code);

    public boolean isRegistered(String email);

    public Token login(String email, String password);

    public String getEmailByToken(String tokenText);

    public void logout();
}
